Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODNameSpaceManager


HasNameSpace

The HasNameSpace method checks whether the specified name space exists and, if so, returns a reference to it.

ODNameSpace HasNameSpace (in ODISOStr spaceName);
spaceName
The name of the name space to find.
return value
A reference to the name space if it exists, otherwise kODNULL.
DISCUSSION
You can call this method to check whether a name space with the specified name exists or to obtain a reference to the name space with the specified name.

When you create a name space, you specify its name as a parameter to the name-space manager's CreateNameSpace method.

SEE ALSO
The ODISOStr type (page 875).
The ODNameSpaceManager::CreateNameSpace method (page 436).
Table 11-1 on page 466 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help